//
//  XLCommitRecorderView.h
//  XiangLove
//
//  Created by 宋振 on 2018/8/8.
//  Copyright © 2018年 BAOMIHUA.COM. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^RecorderAnimationHidden)(BOOL isHidden);

@protocol XLCommitRecorderViewDelegate <NSObject>

//取消本界面显示
- (void)commitRecorderClickDestroyView;

//删除录音
- (void)commitRecorderClickCancelRecorder;

//上传录音
- (void)commitRecorderClickSuccessRecorderWithUrl:(NSString *)url andTimeSecond:(NSInteger)second;

@end

@interface XLCommitRecorderView : UIView

//设置代理
@property (nonatomic, assign) id<XLCommitRecorderViewDelegate> delegate;

//上传录音成功
@property (nonatomic, copy) RecorderAnimationHidden setHidden;


//动画
- (void)animationView;

//上传录音成功
- (void)setRecorderAnimationViewHidden;

@end
